Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain Name based i18n : changes for sitemap & url localised #2280

Closed
wants to merge 3 commits into from

Conversation

benxao
Copy link

@benxao benxao commented May 28, 2013

proposed changes for sitemap and page url localised for domain name enabled i18n

depends on
refinery/refinerycms-i18n#43

…:Refinery::I18n.domain_name_enabled? (domain name based i18n), edit sitemap to take in account localised domains
# request appropriate host & port depending on i18n mode
localized_domain_name = ::Refinery::I18n.domain_name_for_locale(locale)
host_with_port = (::Refinery::I18n.domain_name_enabled? && localized_domain_name) ?
[localized_domain_name, ":", request.port].join : request.host_with_port
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should just be a lookup method that accepts request as an argument

@parndt
Copy link
Member

parndt commented Sep 10, 2013

@ugisozols want to give this a crack rebasing against 3.0.0.dev? 😉

@ugisozols
Copy link
Member

@parndt are you happy with this implementation and think it should be part of Refinery?

@parndt
Copy link
Member

parndt commented Sep 24, 2013

@ugisozols I am unsure.. I want the features but this PR got stale.

@ugisozols
Copy link
Member

Yeah, I'm unsure too so I'm leaning towards close button.

@ugisozols
Copy link
Member

@benxao are you still out there?

@benxao
Copy link
Author

benxao commented Sep 24, 2013

Hi guys sorry for being quiet. I dont have much time now for working on
code. If you like the feature too, feel free to implement it. I will be
happy to use it with a future version of refinery. Cheers
Le 24 sept. 2013 07:22, "Uģis Ozols" [email protected] a écrit :

@benxao https://github.com/benxao are you still out there?


Reply to this email directly or view it on GitHubhttps://github.com//pull/2280#issuecomment-24975521
.

@parndt
Copy link
Member

parndt commented Apr 15, 2014

@ugisozols @simi keep or close? WDYT?

@simi
Copy link
Member

simi commented Apr 15, 2014

keep

@parndt
Copy link
Member

parndt commented Apr 15, 2014

@simi cool - what do you think of the implementation?

@simi
Copy link
Member

simi commented Apr 15, 2014

I think that I do not know.

@parndt
Copy link
Member

parndt commented Apr 15, 2014

@simi okay thanks 😁

@ugisozols
Copy link
Member

I'm still unsure about this ...

@parndt parndt closed this May 4, 2014
@parndt
Copy link
Member

parndt commented May 4, 2014

I'm willing to merge this functionality if someone takes over and re-implements it for 3.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants